{temp('html/recruit/pc/head')}
<script type="text/javascript" src="{$_url}/liaot/static/jquery.js"  media="all"></script>
<script type="text/javascript" src="{$_url}/liaot/static/jquery.websocket.js"  media="all"></script>
<script type="text/javascript">
	WS_STATIC_URL = '{$_url}/websocket/static';
	WS_HOST = '120.27.199.74';
	WS_PORT = 7272;
</script>
<script>
function fsyzm(tt){//发送验证码
	if(tt == '1'){//手机
		var name = $("#phone").val();
	}else{//邮箱
		var name = $("#email").val();
	}
	$.post('{$_url}/?act=ruser&met=fsyzm',{name:name,type:tt},function(data){
		alert(data);
		if(data == '发送成功'){
			number(tt);
		}
	});
}
var time = 60,timee = 60,t;
function number(tt){//计时
	if(tt == '1'){//手机
		var obj = $("#pnumbers");
		t=setTimeout("number("+tt+")",1000);
		if(time > 0){
			obj.html('<div class="w_110 h_35 l_h35 bc_E0E0E0 c_656565 t_c f_l l_m10">'+time+'秒后获取</div>'); 
			time--;
		}
		if(time == 0){
			time = 60;
			obj.html('<div class="w_110 h_35 l_h35 bc_E16400 c_FFF t_c f_l l_m10 point" onclick="fsyzm('+tt+')">重新获取验证码</div>'); 
			clearTimeout(t);
		}
	}else{//邮箱
		var obj = $("#enumbers");
		t=setTimeout("number("+tt+")",1000);
		if(timee > 0){
			obj.html('<div class="w_110 h_35 l_h35 bc_E0E0E0 c_656565 t_c f_l l_m10">'+timee+'秒后获取</div>'); 
			timee--;
		}
		if(timee == 0){
			timee = 60;
			obj.html('<div class="w_110 h_35 l_h35 bc_E16400 c_FFF t_c f_l l_m10 point" onclick="fsyzm('+tt+')">重新获取验证码</div>'); 
			clearTimeout(t);
		}
	}
}
function cjbd(){//创建并绑定账号
	var email = $("#email").val();
	if(email == '请输入您的邮箱'){
		var email = '';
	}
	var eyzm = $("#eyzm").val();
	if(eyzm == '进入邮箱查询验证码'){
		var eyzm = '';
	}
	var phone = $("#phone").val();
	if(phone == '请输入手机号'){
		var phone = '';
	}
	var pyzm = $("#pyzm").val();
	if(pyzm == '手机查找短信获取验证码'){
		var pyzm = '';
	}
	var pass = $("#pass").val();
	$.post('{$_url}/?act=ruser&met=cjbd',{email:email,eyzm:eyzm,phone:phone,pyzm:pyzm,pass:pass},function(data){
		alert(data);
		if(data == '绑定成功'){
			var DEFAULT_VERSION = "8.0";
			var ua = navigator.userAgent.toLowerCase();
			var isIE = ua.indexOf("msie")>-1;
			var safariVersion;
			if(isIE){
			    safariVersion =  ua.match(/msie ([\d.]+)/)[1];
			}
			if(safariVersion <= DEFAULT_VERSION ){
			    // 进行你所要的操作
				location.href='{$_url}/?act=ruser';
			}else{
				 $.wssend('{"type":"login","name":"'+phone+'","pass":"'+pass+'","bd":"1"}');
			 }
		}
	});
}

function bd(){//绑定账号
	var name = $("#name").val();
	if(name == '请输入您的邮箱或者手机'){
		var name = '';
	}
	var pass = $("#pass1").val();
	$.post('{$_url}/?act=ruser&met=bd',{name:name,pass:pass},function(data){
		alert(data);
		if(data == '绑定成功'){
			var DEFAULT_VERSION = "8.0";
			var ua = navigator.userAgent.toLowerCase();
			var isIE = ua.indexOf("msie")>-1;
			var safariVersion;
			if(isIE){
			    safariVersion =  ua.match(/msie ([\d.]+)/)[1];
			}
			if(safariVersion <= DEFAULT_VERSION ){
			    // 进行你所要的操作
				location.href='{$_url}/?act=ruser';
			}else{
				 $.wssend('{"type":"login","name":"'+name+'","pass":"'+pass+'","bd":"1"}');
			 }
		}
	});
}
</script>
</head>
<body onload="init2('email.eyzm.phone.pyzm.patext.name.patext1','请输入您的邮箱.进入邮箱查询验证码.请输入手机号.手机查找短信获取验证码.密码.请输入您的邮箱或者手机.密码')">
	<!--容器-->
	<div class="wraper">
		<!--头部-->
		<div class="w_bai h_100 bc_137ABF dis_inline t_c">
			<!--详细-->
			<div class="w_1100 auto_0">
				<!--logo-->
				<div class="f_l t_m15"><a href="{$_url}"><img src="{$style}/images/head_logo.png"></a></div>
				<!--logo结束-->
				<!--提示字-->
				<div class="f_l l_m10 t_m30"><img src="{$style}/images/head_zi.png"></div>
				<!--提示字结束-->
			</div>
			<!--详细结束-->
		</div>
		<!--头部结束-->

		<!--主体内容-->
		<div class="w_bai dis_inline t_c">
			<!--详细-->
			<div class="w_1100 auto_0 t_m25">
				<!--登录信息-->
				<div class="w_bai bc_FFF t_m60 bor_C6 dis_inline t_l">
					<!--登录框及提示注册字-->
					<div class="f_l h_900">
						<!--个人登录信息-->
						<div class="w_505 h_900 l_m55 bc_BFDBE3 bor_FFF xddw" style="margin-top:-45px;">
							<!--左侧图片-->
							<div class="f_l xddw" style="margin-left:-32px;margin-top:-2px">
								<img src="{$style}/images/yinying_zuo.png">
							</div>
							<!--左侧图片结束-->
							<!--右侧图片-->
							<div class="f_r xddw" style="margin-right:-32px;margin-top:-2px">
								<img src="{$style}/images/yinying_you.png">
							</div>
							<!--右侧图片结束-->
							<!--标题-->
							<div class="w_bai t_c t_m15 dis_inline">
								<span class="c_1379BF f_s22">欢迎个人登录</span>
							</div>
							<!--标题结束-->
							<!--提示个人关联-->
							<div class="t_m15 f_s16 dis_inline">
								<img src="{if(@$_SESSION['recruit_qqtx'])}{$_SESSION['recruit_qqtx']}{else}{$style}/images/temp/tou_50.png{/if}" class="f_l l_m22">
								<span class="f_l l_m16 t_m12 c_FD691F">{if(@$_SESSION['recruit_uname'])}{$_SESSION['recruit_uname']}{/if}</span>
								<span class="f_l t_m12 c_555">，请关联您的账号</span>
							</div>
							<!--提示个人关联结束-->
							<!--创建账号-->
							<div class="w_460 h_445 auto_10 l_m20 bc_FFF bor_C6 t_m25">
								<!--提示图标及字-->
								<div class="t_m10 l_m25 dis_inline">
									<div class="f_l t_m5 login_san"></div>
									<div class="f_l l_m10">
										<p class="f_s16 c_555">创建一个帐号，并绑定您现在登录的QQ</p>
										<p class="t_m5 c_656565">
											绑定后，使用QQ、Email、手机号均可以登录到你现有的帐号。
										</p>
									</div>
								</div>
								<!--提示图标及字结束-->
								<!--邮箱-->
								<div class="t_m40 l_m55 dis_inline">
									<div class="f_l l_m10">
										<div class="c_656565 t_m10 msg"></div>
									</div>
									<div class="f_l" style="margin-left:9px!important;margin-left:5px">
										<input type="text" class="inp" id="email" 
											onfocus="checkFocus('email','请输入您的邮箱')" 
											onblur="checkBlur('email','请输入您的邮箱')" />
									</div>
									<div class="f_l l_m10 t_m8 warn"></div>
								</div>
								<!--邮箱结束-->
								<!--验证码-->
								<div class="t_m20 l_m55 dis_inline">
									<div class="f_l w_15">&nbsp;</div>
									<div class="f_l" style="margin-left:21px!important;margin-left:11px">
										<input type="text" id="eyzm" class="inp_yan" 
											onfocus="checkFocus('eyzm','进入邮箱查询验证码')" 
											onblur="checkBlur('eyzm','进入邮箱查询验证码')" />
									</div>
									<span id="enumbers">
										<div class="w_110 h_35 l_h35 bc_E16400 c_FFF t_c f_l l_m10 point" onClick="fsyzm(2)">
											获取验证码
										</div>
									</span>
								</div>
								<!--验证码结束-->
								<!--手机号-->
								<div class="t_m20 l_m55 dis_inline">
									<div class="f_l l_m16">
										<div class="c_656565 t_m10 shouji"></div>
									</div>
									<div class="f_l" style="margin-left:10px!important;margin-left:5px">
										<input type="text" class="inp" id="phone" 
											onfocus="checkFocus('phone','请输入手机号')" 
											onblur="checkBlur('phone','请输入手机号')" />
									</div>
									<div class="f_l l_m10 t_m8 warn"></div>
								</div>
								<!--手机号结束-->
								<!--验证码-->
								<div class="t_m20 l_m55 dis_inline">
									<div class="f_l w_15">&nbsp;</div>
									<div class="f_l" style="margin-left:21px!important;margin-left:11px">
										<input type="text" id="pyzm" class="inp_yan" 
											onfocus="checkFocus('pyzm','手机查找短信获取验证码')" 
											onblur="checkBlur('pyzm','手机查找短信获取验证码')" />
									</div>
									<span id="pnumbers">
										<div class="w_110 h_35 l_h35 bc_E16400 c_FFF t_c f_l l_m10 point" onClick="fsyzm(1)">
											获取验证码
										</div>
									</span>
								</div>
								<!--验证码结束-->
								<!--密码-->
								<div class="t_m20 l_m52 dis_inline">
									<div class="f_l l_m15">
										<div class="c_656565 t_m10 suo"></div>
									</div>
									<div id="cjbd" class="f_l" style="margin-left:10px!important;margin-left:5px">
										<input type="text" class="inp" id="patext" onfocus="checkPwdFocus('patext','pass')" 
                                    		style="display:block"/>
                                		<input type="password" class="inp" id="pass" onblur="checkPwdBlur('patext','pass')" 
                                    		style="display:none" />
									</div>
								</div>
								<!--密码结束-->
								<!--创建按钮-->
								<div class="t_m25 l_m70 dis_inline">
									<div class="w_300 h_35 l_h35 bc_E16400 c_FFF t_c l_m20 point" onClick="cjbd()">
										创建并绑定
									</div>
								</div>
							</div>
							<!--创建账号结束-->
							<!--第三方登录-->
							<div class="w_460 h_280 auto_0 l_m20 bc_FFF bor_C6">
								<!--提示图标及字-->
								<div class="t_m10 l_m25 dis_inline">
									<div class="f_l t_m5 login_san"></div>
									<div class="f_l l_m10">
										<p class="f_s16 c_555">
											已在思凯注册过帐号，使用已有帐号绑定现在登录的QQ
										</p>
										<p class="t_m5 c_656565">绑定后，两种登录方式均可登录。</p>
									</div>
								</div>
								<!--提示图标及字结束-->
								<!--邮箱-->
								<div class="t_m40 l_m55 dis_inline">
									<div class="f_l l_m10">
										<div class="c_656565 t_m10 msg"></div>
									</div>
									<div class="f_l l_m10">
										<input type="text" id="name" class="inp" 
											onfocus="checkFocus('name','请输入您的邮箱或者手机')" 
											onblur="checkBlur('name','请输入您的邮箱或者手机')" />
									</div>
								</div>
								<!--邮箱结束-->
								<!--密码-->
								<div class="t_m20 l_m52 dis_inline">
									<div class="f_l l_m15">
										<div class="c_656565 t_m10 suo"></div>
									</div>
									<div id="bd" class="f_l l_m10">
										<input type="text" class="inp" id="patext1" onfocus="checkPwdFocus('patext1','pass1')" 
                                    		style="display:block"/>
                                		<input type="password" class="inp" id="pass1" onblur="checkPwdBlur('patext1','pass1')" 
                                    		style="display:none" />
									</div>
								</div>
								<!--密码结束-->
								<!--创建按钮-->
								<div class="t_m25 l_m70 dis_inline">
									<div class="w_300 h_35 l_h35 bc_E16400 c_FFF t_c l_m20 point" onClick="bd()">
										绑定
									</div>
								</div>
							</div>
							<!--第三方登录结束-->
						</div>
						<!--个人登录信息结束-->
					</div>
					<!--图片及提示字-->
					<div class="f_r r_m20 dis_inline b_m20 c_656565">
						<div><img src="{$style}/images/login.png"></div>
						<div class="dis_inline">
							<div class="tishi f_l"></div>
							<span class="f_l l_m10">温馨提示：</span>
						</div>
						<p class="t_m5">用人单位招聘人才，以任何名义向应聘者收取费用都是不被法律允许的，请</p>
						<p class="t_m5">应聘者提高警惕！</p>
						<p class="t_m5">求职者要时刻睁大眼睛，谨防招聘骗局！</p>
					</div>
					<!--图片及提示字结束-->
				</div>
				<!--登录信息结束-->
			</div>
			<!--详细结束-->
		</div>
		<!--主体内容结束-->
{temp('html/recruit/pc/foot')}